Timer apparatus and computer

ABSTRACT

A timer apparatus having a power source, a timer unit for outputting time information to which a time is set via a setting terminal, and a control unit in which a program for permitting set of a time in the timer unit only once is written from the outside via a write terminal and which controls the timer unit. After the program is written to the control unit via the write terminal, the write terminal is disconnected, and the power source, timer unit and control unit are molded integrally. A low-cost timer apparatus in which a time cannot be changed incorrectly can be realized without mounting a processor for performing a complicated process.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a continuation of U.S. patent application Ser. No. 09/126,225, filed Jun. 30, 1998 now pending, the contents of which are incorporated herein by reference.

[0002] This application is based upon, and claims the priority of Japanese Patent Application No. 10-051062 filed Mar. 3, 1998, the contents of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

[0003] The present invention relates to a timer apparatus which is arranged so that a power source, a timer unit for outputting time information and a control unit for controlling the timer unit are molded, and a time can be changed, and relates to a computer having such the timer apparatus.

[0004] In a system utilizing a computer such as a remittance system and electronic filing document transmission system, since an outputted time occasionally has important meaning, it is desired that the computer is provided with a timer apparatus in which a time is not changed incorrectly.

[0005] As a technique for preventing an incorrect change of a time in a timer apparatus, U.S. Pat. No. 5,001,752 discloses a digital time authentication apparatus in which a whole apparatus is fixed integrally by an epoxy resin and a switch is provided so as to be embedded into the epoxy resin and when the switch is turned on, the apparatus is exploded by a physical destruction activity, or a digital time authentication apparatus which performs signature communication and encryption communication in order to make it difficult to change software from an input terminal.

[0006] However, in the digital time authentication apparatus in which the switch is provided so as to be embedded into the epoxy resin, an input terminal can be dug out by X-raying so that the switch is not turned on, and in the digital time authentication apparatus which performs signature communication and encryption communication, a skilled cracker can find signature and cipher key.

SUMMARY OF THE INVENTION

[0007] The present invention is devised from the view of the above situation, in first through sixth aspects, it is an object of the present invention to provide a low-cost timer apparatus in which it is not necessary to use a physical self-explosion apparatus and to mount a processor for executing complicated processes, and a time is not changed incorrectly.

[0008] In the seventh and eleventh aspects, it is an object of the present invention to provide a low-cost timer apparatus which can prevent an incorrect change in time due to operating and exchanging a power source.

[0009] In the eighth through tenth aspects, it is an object of the present invention to provide a low-cost timer apparatus which can improve reliability of printed time.

[0010] In the twelfth aspect, it is an object of the present invention to provide a computer having a low-cost timer apparatus in which a timer is not changed incorrectly without using a physical self-explosion apparatus and without mounting a processor for executing a complicated process.

[0011] The timer apparatus of the present invention basically has a power source, a timer unit for outputting time information to which a time is set via a setting terminal, and a control unit for controlling the timer unit in which a program is written from the outside via a write terminal, and they are molded integrally.

[0012] In the timer apparatus according to the first aspect, after a program for permitting set of a time in the timer unit is written to the control unit via the write terminal, the write terminal is disconnected, the power source, timer unit and control unit are molded integrally.

[0013] In the timer apparatus of the first aspect, after a time is once set via the setting terminal, the control unit prohibits set of a time according to the program, but since the write terminal for changing the program has been disconnected, it is impossible to change the program. As a result, a low-cost timer apparatus in which a time is not changed incorrectly can be realized without using a physical self-explosion apparatus and without mounting a processor for performing a complicated processor.

[0014] The timer apparatus according to the second aspect is arranged so that the control unit includes a portion formed as a temperature fuse of the write terminal and heating means in the vicinity of the temperature fuse, and after the program for permitting set of a time in the timer unit only once is written to the control unit via the write terminal, the temperature fuse is fused by the heating means, and the power source, timer unit and control unit are molded integrally.

[0015] In the timer apparatus of the second aspect, after a time is once set via the setting terminal, the control unit prohibits set of a time according to the program, but since the write terminal for changing the program has been fused, it is impossible to change the program. As a result, a low-cost timer apparatus in which a time is not change incorrectly can be realized without using a physical self-explosion apparatus and without mounting a processor for performing a complicated process.

[0016] The timer apparatus according to the third aspect is arranged so that after a program for permitting set of a time in the timer unit only once is written to the control unit via a write terminal, the write terminal is disconnected and after a time is set via a setting terminal, the setting terminal is disconnected, and a power source, timer unit and control unit are molded integrally.

[0017] In the timer apparatus of the third aspect, after the program is written from the outside to the control unit via the write terminal, the write terminal is disconnected. Then, after a time is set via the setting terminal, the setting terminal is disconnected, and the power source, timer unit and control unit are molded integrally. In this state, since the setting terminal for changing a time has been disconnected, the time cannot be changed. As a result, a low-cost timer apparatus in which a time is not changed incorrectly can be realized without using a physical self-explosion apparatus and without mounting a processor for performing a complicated process.

[0018] The timer apparatus according to the fourth aspect has a portion formed as a temperature fuse of the write terminal inside the control unit, first heating means in the vicinity of the temperature fuse, a portion formed as a temperature fuse of the setting terminal inside the timer unit and second heating means in the vicinity of the temperature fuse. After a program for permitting set of a time in the timer unit only once is written to the control unit via the write terminal, the temperature fuse of the write terminal is fused by the first heating means, and after a time is set via the setting terminal, the temperature fuse of the setting terminal is fused, and the power source, timer unit and control unit are molded integrally.

[0019] In the timer apparatus of the fourth aspect, after the program is written from the outside to the control unit via the write terminal, the portion formed as the temperature fuse of the write terminal is fused by the first heating means. Moreover, after a time is set via the setting terminal, the portion formed as the temperature fuse of the setting terminal is fused. Thereafter, the power source, timer unit and control unit are molded integrally. In this state, the program cannot be changed and a time cannot be changed. As a result, a low-cost timer apparatus in which a time is not changed incorrectly can be realized without using a physical self-explosion apparatus and without mounting a processor for performing a complicated process.

[0020] The timer apparatus according to the fifth aspect has a portion formed as a temperature fuse of the write terminal inside the control unit and heating means in the vicinity of the temperature fuse, and a power source, timer unit and control unit are molded integrally. A program for permitting set of a time in the timer unit only once is written to the control unit via the write terminal.

[0021] In the timer apparatus of the fifth aspect, when after the program, which includes means for prohibiting set of a time and to which a time is once set via the setting terminal, is written from the outside to the control unit via the write terminal, the temperature fuse is fused by the heating means, the write terminal for changing the program is fused, so the program cannot be changed. As a result, a low-cost timer apparatus in which a time is not changed incorrectly can be realized without using a physical self-explosion apparatus and without mounting a processor for performing a complicated process.

[0022] The timer apparatus according to the sixth aspect has a portion formed as a temperature fuse of a write terminal inside the control unit and first heating means in the vicinity of the temperature fuse and has a portion formed as a temperature fuse of a setting terminal inside the timer unit and second heating means in the vicinity of the temperature fuse, and a power source, timer unit and control unit are molded integrally.

[0023] In the timer apparatus of the sixth aspect, after a program is written from the outside to the control unit via the write terminal, the portion formed as the temperature fuse of the write terminal is fused by the first heating means, and after a time is set via the setting terminal, the portion formed as the temperature fuse of the setting terminal is fused. As a result, the program cannot be changed. Moreover, since the setting terminal for changing a time is fused in its inner portion, the time cannot be changed. As a result, a low-cost timer apparatus in which a time is not changed incorrectly can be realized without using a physical self-explosion apparatus and without mounting a processor for performing a complicated process.

[0024] The timer apparatus according to the seventh aspect is provided to the first through sixth aspects with predicting means for predicting a prediction term of validity based on the power source at the time of starting or setting a time, calculating means for calculating a residual term of the prediction term of validity predicted by the predicting means, and means for outputting the residual term calculated by the calculating means.

[0025] In the timer apparatus of the seventh aspect, since the residual term of validity of the power source is detected easily, in the case the power source and the main body of the timer apparatus are molded integrally, the timer apparatus can be exchanged for a new one securely. Therefore, incorrect change in a time due to operating and exchanging of the power source can be prevented.

[0026] The timer apparatus according to the eighth aspect further has judging means for judging as to whether or not a password inputted from the outside is correct, and in the case where the judging means judges that the password is correct, the time information is outputted from the timer unit.

[0027] In the timer apparatus of the eighth aspect, only in the case where the password inputted from the outside is correct, the time information is outputted. Therefore, the time information includes ID of the timer apparatus so as to be outputted, and the time as well as the ID are printed. As a result, reliability of the printed time can be improved.

[0028] The timer apparatus according to the ninth aspect further has means for generating a password according to an instruction from the outside, means for outputting the generated password, and judging means for when a password is inputted from the outside, judging as to whether or not the inputted password coincides with the formerly outputted password. When both the passwords coincide with each other, the time information is outputted from the timer unit.

[0029] In the timer apparatus of the ninth aspect, in the case where the password, which is generated and outputted by the timer apparatus, coincides with a password inputted from the outside, the time information is outputted from the timer unit. As a result, since it is not necessary to fix a password, a password is not copied. Therefore, the time information in which ID of the timer apparatus is included is outputted, and the time as well as the ID are printed. As a result, reliability of the printed time can be improved.

[0030] The timer apparatus according to the tenth aspect further has encrypting means for encrypting the time information outputted from the timer unit so as to output it.

[0031] In the timer apparatus of the tenth aspect, since the time information outputted from the timer unit is encrypted to be outputted, the timer information includes ID of the timer apparatus to be outputted, and the time as well as the ID are printed. As a result, reliability of the printed time is improved.

[0032] The timer apparatus according to the eleventh aspect further has voltage detecting means for detecting a voltage of the power source, comparing means for comparing a value of the voltage detected by the voltage detecting means with a predetermined value, and means for when the value of the voltage is smaller than the predetermined value as a result of the comparison, warning that the term of validity is short.

[0033] In the timer apparatus of the seventh aspect, since the residual term of validity of the power source is detected easily, in the case where the power source and the main body of the timer apparatus are molded integrally, the timer apparatus can be exchanged for a new one securely. For this reason, incorrect change in a time due to operating and exchanging of the power source can be prevented.

[0034] In the timer apparatus of the eleventh aspect, in the case where the value of the voltage of the power source is smaller than the predetermined value, a warning is given the term of validity of the power source is short. For this reason, in the case where the power source and the main body of the timer apparatus are molded integrally, the timer apparatus can be exchanged for a new one securely. Therefore, incorrect change in a time due to operating and exchanging of the power source can be prevented.

[0035] The computer of the present invention has one of the timer apparatuses according to the respective aspects.

[0036] In the computer, an outputted time cannot be changed incorrectly.

[0037] The above and further objects and features of the invention will more fully be apparent from the following detailed description with accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0038]FIG. 1 is a block diagram showing an arrangement of an essential portion of a timer apparatus according to an embodiment of the present invention;

[0039]FIG. 2A through FIG. 2E are drawings explaining manufacturing process of the timer apparatus according to the present invention;

[0040]FIG. 3A and FIG. 3B are drawings explaining another manufacturing process of the timer apparatus according to the present invention;

[0041]FIG. 4 is a flow chart showing an operation of the timer apparatus of the present invention;

[0042]FIG. 5 is a flow chart showing an operation of the timer apparatus of the present invention;

[0043]FIG. 6 is a flow chart showing an operation of the timer apparatus of the present invention;

[0044]FIG. 7 is a flow chart showing an operation of the timer apparatus of the present invention;

[0045]FIG. 8 is a block diagram showing an arrangement of an essential portion of a computer according to an embodiment of the present invention; and

[0046]FIG. 9 is a flow chart showing an operation of the computer according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0047] The following describes embodiments of the present invention on reference to the drawings. FIG. 1 is a block diagram showing the arrangement of an essential portion of the timer apparatus according to the present invention.

[0048] In this timer apparatus, a portion arranged as a timer IC 15, mentioned later, is connected with a battery (power source) 19 and an encrypter 26. Here, the battery 19 is connected with the timer IC 15 by a power source terminal 10.

[0049] The timer IC 15 includes a CPU 22, a crystal oscillator 23, an I/O port 24 and a memory unit 25. The CPU 22 includes a clocking unit 22 c, a control unit 22 b and a flag register 22 a.

[0050] The crystal oscillator 23 generates a pulse signal to be clocking reference and supplies it to the clocking unit 22 c. The clocking unit 22 c divides the pulse signal supplied from the crystal oscillator 23 and generates time information so as to output it. The crystal oscillator 23 and clocking unit 22 c compose the clocking unit 22 c. The control unit 22 b controls a timer unit 22 d.

[0051] The encrypter 26 is connected with the clocking unit 22 c by a time reading-out terminal 14, and encrypts the time information directly supplied from the clocking unit 22 c so as to output it.

[0052] The I/O port 24 and memory unit 25 are connected with the CPU 22 by a bus 27. The memory unit 25 includes a non-volatile memory (for example, flash ROM) for storing a program of the CPU 22, and has a flash ROM write terminal 13 for writing the program. The I/O port 24 is used for communication with the CPU 22, in other words, the outside of the timer IC 15.

[0053]FIG. 2A through FIG. 2D are explanatory drawings for explaining the manufacturing process of the timer apparatus having such an arrangement. As shown in FIG. 2A, in the manufacturing process, the crystal oscillator 23, CPU 22, I/O port 24 and memory unit 25 are formed in one timer IC 15. The power source terminal 10, a time setting terminal 11, the time reading-out terminal 14 and the flash ROM write terminal 13 are exposed around the timer IC 15.

[0054] Next, as shown in FIG. 2B, the timer IC 15 is set in a ROM writer 16 having a socket for the flash ROM of the memory unit 25, and a program for the CPU 22 is written in the flash ROM from the flash ROM write terminal 13. At this time, since the battery 19 is not connected yet, a power source as well as various signals are supplied from the ROM writer 16 via a cable 16 c. The program to be written in the flash ROM includes a process such that “when a clocking operation is started from a set time via the time setting terminal and once the time is set, resetting thereafter is not acceptable”.

[0055] Next, as shown in FIG. 2C, the flash ROM write terminal 13 is disconnected.

[0056] As shown in FIG. 2D, a timer IC 15 a, which is disconnected with the flash ROM write terminal 13 from the timer IC 15, is connected with the battery 19, encrypter 26, etc. by soldering with the power source terminal 10, time setting terminal 11, time reading-out terminal 14, and a timer module terminal 18 are mounted onto a timer module 17. Thereafter, the whole is molded integrally by epoxy resin. In this state, a time is set in the clocking unit 22 c from the timer module terminal 18 via the time setting terminal 11, and the product is shipped from the factory (first aspect).

[0057] Here, as the third aspect, the following method may be used. The timer IC 15 a, which is disconnected from the flash ROM write terminal 13, battery 19, encrypter 26, etc. are mounted onto the timer module 17 by soldering, a time is set from the time setting terminal 11. Thereafter, as shown in FIG. 2E, a timer IC 15 b is made from the timer IC 15 by disconnecting the time setting terminal 11, and the whole is molded integrally by the epoxy resin.

[0058] In addition, instead of disconnecting the flash ROM write terminal 13, as shown in FIG. 3A, the following arrangement can be adopted. A portion 13 a formed as a temperature fuse is provided to the flash ROM write terminal 13 in the timer IC 15, and a heater circuit 20 is provided to the vicinity of the portion 13 a. In such an arrangement, after the program for the CPU 22 is written from the flash ROM write terminal 13 into the flash ROM, an electric current is applied from a heater circuit terminal 21, and the portion 13 a formed as the temperature fuse is fused by a heat generated by the electric current (second aspect).

[0059] In addition, the product is shipped from the factory with the portion 13 a formed as the temperature fuse not being fused, and the portion 13 a formed as the temperature fuse can be fused as the need arises (fifth aspect).

[0060] Furthermore, as the fourth aspect, as shown in FIG. 3B, a portion 11 a formed as a temperature fuse is provided to the time setting terminal 11 in the timer IC 15, and a heater circuit 20 a having a terminal 21 a is provided to its vicinity. After the flash ROM write terminal 13 is fused, the timer IC 15 a, battery 19, encrypter 26, etc. are mounted onto the timer module 17 by soldering. In this state, a time is set from the time setting terminal 11, an electric current is applied from the heater circuit terminal 21 a, and after the portion 11 a formed as the temperature fuse of the time setting terminal 11 is fused by a heat generated by the electric current, the whole is molded integrally by the epoxy resin.

[0061] Moreover, the product is shipped from the factory with the flash ROM write terminal 13 and the portion 11 a formed as the temperature fuse of the time setting terminal 11 not being fused, and the portion 11 a formed as the temperature fuse is fused as the need arises (sixth aspect).

[0062] In these cases, the portions 11 a and 13 a formed as the temperature fuse may be provided to a wiring in a silicon chip or a lead wire in a package to which the chip is mounted. In the case where they are provided to the former, since disconnection is made on a more minute portion, incorrect activities using a probe or the like become difficult, but it has a disadvantage such that a cost of chip rises. In the case where they are provided to the lead wire, the apparatus can be manufactured at a lower cost, but it has disadvantages such that a lot of power is required for fusing the lead wire and incorrect activities using a probe or the like become comparatively easy.

[0063] The following describes an operation of the timer apparatus manufactured in such a manner on reference to the flow charts in FIG. 4 through FIG. 7.

[0064] First, the operation relating to prediction for the term of validity on reference to the flow chart in FIG. 4.

[0065] When the battery 19 is mounted and a time is set and started (S10), the CPU 22 sets a predicted term of validity Ty of the timer apparatus predicted from the capacity of the battery 19 so as to output the predicted term of validity Ty via the I/O port 24 (S12).

[0066] Next, every time a predetermined time period Ts passes (S14), the CPU 22 calculates a residual predicted term of validity Ty (=Ty−Ts) (S16), and outputs the calculated residual predicted term of validity Ty via the I/O port 24 (S18) (seventh aspect).

[0067] The following describes an operation at the time of setting a time on reference to the flow chart in FIG. 5.

[0068] When the battery 19 is mounted and a time is set to be started (S22), the CPU 22 turns off a flag of the flag register 22 a (prohibiting means) included in the CPU 22 (S24). In this state, when a time is inputted and set from the time setting terminal 11 (S26), the CPU 22 judges as to whether or not the flag of the flag register 22 a is ON (S28). When the judgment is made that the flag is OFF, the CPU 22 sets a time (S30), and turns the flag ON (S32). When the judgment is made that the flag is ON (S28), the CPU 22 does not set the time nor switch the flag into ON/OFF (first and second aspects).

[0069] The following describes an operation of outputting the time information on reference to the flow chart in FIG. 6.

[0070] When password is inputted via the I/O port 24 (S34), the CPU 22 checks the inputted password (S36). When the checked password is correct (S38), the CPU 22 encrypts the time information by the encrypter 26 (S40), and outputs the encrypted time information (S42) and returns. When the checked password is incorrect (S38), the CPU 22 returns intact (eighth and tenth aspects).

[0071] In this case, prior to input of the password (S34), the CPU 22 may generate a password according to an external instruction and output the generated password, and may check the password inputted from the outside (S34) according to the output of the password (S36) (ninth aspect).

[0072] The following describes an operation for monitoring a voltage of the battery 19 on reference to the flow chart in FIG. 7.

[0073] The CPU 22 detects a voltage of the battery 19 with a predetermined period (S44), and compares the detected voltage value with a predetermined value (S46). As a result, when the detected voltage value is smaller than the predetermined value, the CPU 22 outputs a signal for warning that the battery 19 is almost dead (S48). When the detected voltage value is larger than the predetermined value, the CPU 22 returns intact (first aspect).

[0074]FIG. 8 is a block diagram showing the arrangement of an essential portion of a computer according to an embodiment of the present invention. The computer has a CPU 34, I/O port 31 and memory 30 connected with the CPU 34 via a bus 33, a display unit 32 connected with the I/O port 31, the timer apparatus 29 of the present invention, and a decrypter 28 for decrypting encrypted time information obtained by the timer apparatus 29 so as to supply it to the CPU 34.

[0075] The following describes an operation of the computer having the such an arrangement on reference to the flow chart in FIG. 9.

[0076] When displaying a time or outputting time information onto the display unit 32, the CPU 34 directly outputs a predetermined password to the timer apparatus 29 (S50). The timer apparatus 29 checks the inputted password (S36 in FIG. 6), and in the case where a judgment is made that the password is correct (S38 in FIG. 6), when the time information is encrypted to be outputted (S42 in FIG. 6) (S52), the encrypted time information is decrypted by the decrypter 28 (S54), and the decrypted time information is displayed on the display unit 32. Moreover, the time information is printed by a printer (not shown) as the need arises. When the encrypted time information is not inputted from the timer apparatus 29 (S52), the CPU 34 returns intact.

[0077] In such the computer, since it is difficult to incorrectly change a time to be outputted, in the case where a remittance system, electronic filing document transmitting system, etc. are constructed, their security is improved greatly.

[0078] As mentioned above, according to the timer apparatus of the first through sixth aspects, a low-cost timer apparatus in which a time is not changed illegally can be realized without using a physical self-explosion apparatus and without mounting a processor for performing a complicated process.

[0079] According to the timer apparatus of the seventh aspect, since the timer apparatus can be exchanged for a new one until the term of validity is expired, the power source can be mold integrally with the main body of the timer apparatus, and thus incorrect change of a time due to an operation and exchange of the power source can be prevented.

[0080] According to the timer apparatus of the eighth and tenth aspects, when the time information which includes ID of the timer apparatus is outputted and a time as well as the ID are printed, reliability of the printed time can be improved.

[0081] According to the timer apparatus of the ninth aspect, since a password is not fixed and it is difficult to copy the password, when the time information, which is outputted when the password is accepted, includes the ID of the timer apparatus to be outputted and a time as well as the ID are printed, reliability of the printed time can be improved.

[0082] According to the timer apparatus of the eleventh aspect, since before the power source (battery) is dead, the timer apparatus can be exchanged for a new one, the power source can be molded integrally with the main body of the timer apparatus, and thus incorrect change of time due to operation and exchange of the power source can be prevented.

[0083] According to the computer of the twelfth aspect, a time outputted by the computer cannot be changed incorrectly.

[0084] As this invention may be embodied in several forms without departing from the spirit of essential characteristics thereof, the present embodiments are therefore illustrative and not restrictive, since the scope of the invention is defined by the appended claims rather than by the description preceding them, and all changes that fall within metes and bounds of the claims, or equivalence of such metes and bounds thereof are therefore intended to be embraced by the claims. 

What is claimed is:
 1. A timer apparatus, comprising: a power source; a time setting terminal; a timer unit, that outputs a time information based on a time set by the time setting terminal; a control unit that controls the timer unit based on a program and permits the timer unit to be set only once; and a write terminal that writes the program to the control unit, wherein the time setting terminal, the timer unit, the control unit and the write terminal are integrally packed in a package, and after the program is written to the control unit via the write terminal, the write terminal is disconnected, and the power source and package are molded integrally.
 2. The timer apparatus as set forth in claim 1, wherein the control unit comprises: a predictor that predicts a term of validity based on a state of the power source at a time when the power source is connected to the timer apparatus or a time is set in the timer unit; a calculator that calculates a residual term based on the term of validity predicted by the predicting means at an arbitrary time thereafter; and an output circuit that outputs the residual term calculated by the calculator.
 3. The timer apparatus as set forth in claim 1, further comprising: an authenticator that, when a password is input, judges whether the password is the same as an initial password, and when the authenticator judges that both the passwords are the same, the timer unit outputs the time information.
 4. The timer apparatus as set forth in claim 1, further comprising: a password generator that generates an interior password; and a discriminator that, when an input password is input, judges whether the input password is the same as the interior password, and when the discriminator judges that both the passwords are the same, the timer unit outputs the time information.
 5. The timer apparatus as set forth in claim 1, further comprising an encryptor that encrypts time information output by the timer unit and outputs the encrypted time information.
 6. The timer apparatus as set forth in claim 1, wherein the control unit includes: a voltage detector that detects a voltage of the power source; a comparator that compares the voltage with a predetermined value; and an alertor that, when the voltage is less than the predetermined value, generates a warning signal.
 7. The timer apparatus as set forth in claim 1, wherein the write terminal is disconnected by at least one of being cut and removed, being melted, and being severed from the package.
 8. A timer apparatus, comprising: a power source; a time setting terminal; a timer unit, that outputs a time information based on a time set by the time setting terminal; a control unit that controls the timer unit based on a program; and a write terminal that writes the program to the control unit, wherein the setting terminal, the timer unit, the control unit, the write terminal and the circuit are integrally packed in a package, and after the program is written to the control unit via the write terminal, the write terminal is disconnected, and the power source and package are molded integrally.
 9. The timer apparatus as set forth in claim 8, wherein the control unit comprises: a predictor that predicts a term of validity based on a state of the power source at a time when the power source is connected to the timer apparatus or a time is set in the timer unit; a calculator that calculates a residual term based on the term of validity predicted by the predicting means at an arbitrary time thereafter; and an output circuit that outputs the residual term calculated by the calculator.
 10. The timer apparatus as set forth in claim 8, further comprising: an authenticator that, when a password is input, judges whether the password is the same as an initial password, and when the authenticator judges that both the passwords are the same, the timer unit outputs the time information.
 11. The timer apparatus as set forth in claim 8, further comprising: a password generator that generates an interior password; and a discriminator that, when an input password is input, judges whether the input password is the same as the interior password, and when the discriminator judges that both the passwords are the same, the timer unit outputs the time information.
 12. The timer apparatus as set forth in claim 8, further comprising an encryptor that encrypts time information output by the timer unit and outputs the encrypted time information.
 13. The timer apparatus as set forth in claim 8, wherein the control unit includes: a voltage detector that detects a voltage of the power source; a comparator that compares the voltage with a predetermined value; and an alertor that, when the voltage is less than the predetermined value, generates a warning signal.
 14. The timer apparatus as set forth in claim 8, wherein the write terminal is disconnected by at least one of being cut and removed, being melted, and being severed from the package.
 15. A computer having a timer apparatus, the computer comprising: a power source; a time setting terminal; a timer unit, that outputs a time information based on a time set by the time setting terminal; a control unit that controls the timer unit based on a program and permits the timer unit to be set only once; and a write terminal that writes the program to the control unit, wherein the time setting terminal, the timer unit, the control unit and the write terminal are integrally packed in a package, and after the program is written to the control unit via the write terminal, the write terminal is disconnected, and the power source and package are molded integrally.
 16. The computer as set forth in claim 15, wherein the control unit comprises: a predictor that predicts a term of validity based on a state of the power source at a time when the power source is connected to the timer apparatus or a time is set in the timer unit; a calculator that calculates a residual term based on the term of validity predicted by the predicting means at an arbitrary time thereafter; and an output circuit that outputs the residual term calculated by the calculator.
 17. The computer as set forth in claim 15, further comprising: an authenticator that, when a password is input, judges whether the password is the same as an initial password, and when the authenticator judges that both the passwords are the same, the timer unit outputs the time information.
 18. The computer as set forth in claim 15, further comprising: a password generator that generates an interior password; and a discriminator that, when an input password is input, judges whether the input password is the same as the interior password, and when the discriminator judges that both the passwords are the same, the timer unit outputs the time information.
 19. The computer as set forth in claim 15, further comprising an encryptor that encrypts time information output by the timer unit and outputs the encrypted time information.
 20. The computer as set forth in claim 15, wherein the control unit includes: a voltage detector that detects a voltage of the power source; a comparator that compares the voltage with a predetermined value; and an alertor that, when the voltage is less than the predetermined value, generates a warning signal.
 21. The computer as set forth in claim 15, wherein the write terminal is disconnected by at least one of being cut and removed, being melted, and being severed from the package.
 22. A computer having a timer apparatus, the timer apparatus comprising: a power source; a time setting terminal; a timer unit, that outputs a time information based on a time set by the time setting terminal; a control unit that controls the timer unit based on a program; and a write terminal that writes the program to the control unit, wherein the setting terminal, the timer unit, the control unit, the write terminal and the circuit are integrally packed in a package, and after the program is written to the control unit via the write terminal, the write terminal is disconnected, and the power source and package are molded integrally.
 23. The computer as set forth in claim 22, wherein the computer comprises: a predictor that predicts a term of validity based on a state of the power source at a time when the power source is connected to the timer apparatus or a time is set in the timer unit; a calculator that calculates a residual term based on the term of validity predicted by the predicting means at an arbitrary time thereafter; and an output circuit that outputs the residual term calculated by the calculator.
 24. The computer as set forth in claim 22, further comprising: an authenticator that, when a password is input, judges whether the password is the same as an initial password, and when the authenticator judges that both the passwords are the same, the timer unit outputs the time information.
 25. The computer as set forth in claim 22, further comprising: a password generator that generates an interior password; and a discriminator that, when an input password is input, judges whether the input password is the same as the interior password, and when the discriminator judges that both the passwords are the same, the timer unit outputs the time information.
 26. The computer as set forth in claim 22, further comprising an encryptor that encrypts time information output by the timer unit and outputs the encrypted time information.
 27. The computer as set forth in claim 22, wherein the control unit includes: a voltage detector that detects a voltage of the power source; a comparator that compares the voltage with a predetermined value; and an alertor that, when the voltage is less than the predetermined value, generates a warning signal.
 28. The computer as set forth in claim 22, wherein the write terminal is disconnected by at least one of being cut and removed, being melted, and being severed from the package.
 29. A method of manufacturing a timer apparatus, comprising: writing a time information into a timer unit, where the timer unit, a control unit and a write terminal are integrally packed in a package; disconnecting the write terminal; and integrally molding a power source and the package.
 30. The method of manufacturing a timer apparatus as set forth in claim 29, wherein the control unit comprises: predicting a term of validity based on a state of the power source at a time when the power source is connected to the timer apparatus or a time is written into the timer unit; calculating a residual term based on the term of validity predicted at an arbitrary time thereafter; and outputting the residual term calculated by the calculator.
 31. The method of manufacturing a timer apparatus as set forth in claim 29, further comprising: when a password is input, judging whether the password is the same as an initial password, and when both the passwords are the judged to be the same, allowing the writing of the time information.
 32. The method of manufacturing a timer apparatus as set forth in claim 29, further comprising: generating an interior password; and when an input password is input, judging whether the input password is the same as the interior password, and when the passwords are judged to be the same, allowing the writing of the time information.
 34. The method of manufacturing a timer apparatus as set forth in claim 29, further comprising: detecting a voltage of the power source; comparing the voltage with a predetermined value; and generating a warning signal, when the voltage is less than the predetermined value.
 35. The method of manufacturing a timer apparatus as set forth in claim 29, wherein the write terminal is disconnected by at least one of being cut and removed, being melted, and being severed from the package. 